<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
		<title></title>
		<style type="text/css">
			*{
				padding: 0;
				margin: 0;
				font-size: 50px;
			}
			#top{
				width: 300px;
				height: 300px;
				border: 3px solid red;
			}
			#bottom{
				width: 300px;
				height: 300px;
				border: 3px solid blue;
			}
		</style>
		<script src="../jquery-1.11.3.min.js"></script>
		<script type="text/javascript">
			$(function(){
				$('#btn').click(function(){
					//1.获取小兰的内容
					var blue = $('#bottom').html();
					//2.设置小兰的内容为小红的内容
					$('#bottom').html($('#top').html());
					//3.设置小红的内容为小兰的内容
					$('#top').html(blue);
				})
			})
		</script>
	</head>
	<body>
		<div id="top">
			☺☺☺☺☺☺
			<br />
			☹☹☹☹☹☹
			<br />
			😊😊😊😊😊😊
		</div>
		<button id="btn">大挪移</button>
		<div id="bottom"></div>
	</body>
</html>
